import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home'
import Question from '@/pages/question'
import Result from '@/pages/result'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: 'Home',
            component: Home
        },
        {
            path: '/question',
            name: 'Question',
            component: Question
        },
        {
            path: '/result',
            name: 'Result',
            component: Result
        }
    ]
})
